import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/views/login/Login'
import Home from '@/views/Home'
import List from '@/views/List'
import Tree from '@/views/Tree'
import TableTree from '@/views/TableTree'
import Home1 from '@/views/Home1'
import Upload from '@/views/Upload'
import Echarts from '@/views/Echarts'
import jilian from '@/views/jilian'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Login',
      component: Login
    }, {
      path: '/home',
      name: '主页',
      component: Home
    }, {
      path: '/list',
      name: 'list',
      component: List
    }, {
      path: '/tree',
      name: 'Tree',
      component: Tree
    }, {
      path: '/tableTree',
      name: 'TableTree',
      component: TableTree
    },
    {
      path: '/home1',
      name: 'Home1',
      component: Home1
    },
    {
      path: '/upload',
      name: 'Upload',
      component: Upload
    },
    {
      path: '/echarts',
      name: 'Echarts',
      component: Echarts
    },
    {
      path: '/jilian',
      name: 'jilian',
      component: jilian
    }

  ]
})
